function Line(props) {
  const { top, bottom } = props
  return (
    <div
      style={{
        height: '1px',
        borderTop: '1px solid #374756',
        marginTop: `${top ? top + 'px' : '2px'}`,
        marginBottom: `${bottom ? bottom + 'px' : '2px'}`
      }}
    ></div>
  )
}

export default Line
